package com.iwhalecloud.uncc.model;


import java.io.Serializable;
import java.util.Date;

/**
 * 采集任务表
 */
public class InsCollectTask implements Serializable, ArchiverModel {

    private static final long serialVersionUID = 4473649184167287801L;
    private Long id;
    private String taskCode;
    private String strategyId;
    private String templateId;
    private String sourceId;
    private String processId;
    private String abstractId;
    private String serviceId;
    private String batchNo;
    private Date dispatchDate;
    private Date startDate;
    private Date endDate;
    private Integer state;
    private String errorDesc;
    private Integer policyType;
    private Integer isSupplement;
    private Long parentTaskId;
    private Long rootTaskId;
    private String partitionCode;
    private Date archiverTime;
    private Integer archiverFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public String getStrategyId() {
        return strategyId;
    }

    public void setStrategyId(String strategyId) {
        this.strategyId = strategyId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getAbstractId() {
        return abstractId;
    }

    public void setAbstractId(String abstractId) {
        this.abstractId = abstractId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public Date getDispatchDate() {
        return dispatchDate;
    }

    public void setDispatchDate(Date dispatchDate) {
        this.dispatchDate = dispatchDate;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getErrorDesc() {
        return errorDesc;
    }

    public void setErrorDesc(String errorDesc) {
        this.errorDesc = errorDesc;
    }

    public Integer getPolicyType() {
        return policyType;
    }

    public void setPolicyType(Integer policyType) {
        this.policyType = policyType;
    }

    public Integer getIsSupplement() {
        return isSupplement;
    }

    public void setIsSupplement(Integer isSupplement) {
        this.isSupplement = isSupplement;
    }

    public Long getParentTaskId() {
        return parentTaskId;
    }

    public void setParentTaskId(Long parentTaskId) {
        this.parentTaskId = parentTaskId;
    }

    public Long getRootTaskId() {
        return rootTaskId;
    }

    public void setRootTaskId(Long rootTaskId) {
        this.rootTaskId = rootTaskId;
    }

    public String getPartitionCode() {
        return partitionCode;
    }

    @Override
    public void setPartitionCode(String partitionCode) {
        this.partitionCode = partitionCode;
    }

    public Date getArchiverTime() {
        return archiverTime;
    }

    @Override
    public void setArchiverTime(Date archiverTime) {
        this.archiverTime = archiverTime;
    }

    public Integer getArchiverFlag() {
        return archiverFlag;
    }

    public void setArchiverFlag(Integer archiverFlag) {
        this.archiverFlag = archiverFlag;
    }
}
